home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / pprd100 / makefile < prev    next >
Makefile  |  1996-07-10  |  1KB  |  59 lines

  1. #
  2. #       Makefile for PPRD
  3. #
  4. # You may wish to change the following four parameters
  5. #
  6.  
  7. WATINCLUDE=.            # path to WATTCP include files
  8. WATLIB=.                # path to WATTCP lib files
  9. DEBUG= D                # set to D for disable, E for enable symbolic debugging
  10.  
  11. #
  12. MODEL= S                        # set to L for large, S for small
  13. #
  14. #
  15. #
  16. # auto configure section
  17. #
  18. #
  19.  
  20. !if '$(DEBUG)'=='E'
  21. IDEBUG=-v
  22. TEXTDEBUG=enabled
  23. !elif '$(DEBUG)'=='D'
  24. IDEBUG=-v-
  25. TEXTDEBUG=disabled
  26. #!else
  27. #!error  DEBUG must be set to either E or D
  28. !endif
  29.  
  30. !if '$(MODEL)'=='L'
  31. CMODEL=-ml
  32. CLIB=$(WATLIB)\wattcplg.lib
  33. TEXTMODEL=large
  34. !elif '$(MODEL)'=='S'
  35. CMODEL=-ms
  36. CLIB=$(WATLIB)\wattcpsm.lib
  37. TEXTMODEL=small
  38. !else
  39. !error  MODEL must be set to either S or L
  40. !endif
  41.  
  42. CFLAGS= -O $(CMODEL) $(IDEBUG) -I$(WATINCLUDE)
  43. CC= bcc
  44.  
  45. #
  46. #
  47. #  list of executables
  48. #
  49. #
  50.  
  51. pprd.exe: pprd.c
  52.     $(CC) $(CFLAGS) pprd.c $(CLIB)
  53.  
  54. jd.exe: jd.c
  55.     $(CC) $(CFLAGS) jd.c $(CLIB)
  56.  
  57. jdtsr.exe: jdtsr.c
  58.     $(CC) -mt $(IDEBUG) -I$(WATINCLUDE) -M jdtsr.c $(CLIB)
  59.